package com.xxxx.server.controller;

import com.xxxx.server.pojo.RespBean;
import com.xxxx.server.pojo.RespPageBean;
import com.xxxx.server.pojo.Salary;
import com.xxxx.server.service.impl.SalaryServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * 员工账套
 *
 * @author zhoubin
 * @since 1.0.0
 */
@RestController
@RequestMapping("/salary/sobcfg")
public class SalarySobCfgController {
    @Autowired
    private SalaryServiceImpl salaryService;

    /**
     * 查询员工套账
     * @param respPageBean
     * @return
     */
    @GetMapping
    public Map<String, Object>selcetSalaryCfg(RespPageBean respPageBean){

        Map<String, Object>map = salaryService.selectSalaryCfg(respPageBean);

        return map;
    }


    /*@RequestMapping("/salaries")
    @GetMapping
    public List<Salary> updateSalaryCfg(){

    }*/










}